import { Component, h } from "vue";
import { NIcon } from "naive-ui";

function renderIcon (icon: Component) {
    return () => h(NIcon, null, { default: () => h(icon) })
}

export { renderIcon }